#ifndef CHARTSHOW_H
#define CHARTSHOW_H

#include <QWidget>
//#include <QtCharts/QChart>
#include    <QtCharts>  //必须这么设置
using namespace QtCharts;
#define UseQchart   0
#define UseQcplot   1
#define QchartUse   UseQcplot
QT_BEGIN_NAMESPACE
namespace Ui {
class chartshow;
}

class chartshow : public QWidget
{
    Q_OBJECT

public:
    explicit chartshow(QWidget *parent = nullptr);
    ~chartshow();
    void showchart(void);
    void showchart_useqcplot(void);

private:
    Ui::chartshow *ui;
};

#endif // CHARTSHOW_H
